package com.guochu.pro.entity;

import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.guochu.common.infrastructure.IEntity;

import java.io.Serializable;

/**
 * 产品分类表(Addressbook)实体类
 *
 * @author makejava
 * @since 2021-09-11 02:57:37
 */
public class Addressbook extends IEntity implements Serializable {
    private static final long serialVersionUID = 168672372770895714L;
    /**
     * 用户Id
     */
    private String userId;
    /**
     * 用户姓名
     */
    private String userName;
    /**
     * 头像
     */
    private String headIcon;
    /**
     * 未读数量
     */
    private Integer noReadNumber;
    /**
     * 最新发送时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime bestNewDate;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getHeadIcon() {
        return headIcon;
    }

    public void setHeadIcon(String headIcon) {
        this.headIcon = headIcon;
    }

    public Integer getNoReadNumber() {
        return noReadNumber;
    }

    public void setNoReadNumber(Integer noReadNumber) {
        this.noReadNumber = noReadNumber;
    }

    public LocalDateTime getBestNewDate() {
        return bestNewDate;
    }

    public void setBestNewDate(LocalDateTime bestNewDate) {
        this.bestNewDate = bestNewDate;
    }

}
